home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 2001 November / macformat-109.iso / Demos / Alice Demo / demo / pak0.pk3 / scripts / joe.shader < prev    next >
Encoding:
Text File  |  2000-11-20  |  13.6 KB  |  823 lines

  1. // FIXME most of these probably need nomipmaps
  2.  
  3. // FIXME these are fakk shadersz
  4. bloodmdl1
  5. {
  6.    cull none
  7.    {
  8.       map models/fx/blood/bloodmap1.tga
  9.       blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  10. //    rgbGen identity
  11.       alphaGen entity
  12.  
  13.    }
  14. }
  15.  
  16.  
  17. bloodmdl2
  18. {
  19.    cull none
  20.    {
  21.       map models/fx/blood/bloodmap2.tga
  22.       blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  23. //    rgbGen identity
  24.       alphaGen entity
  25.  
  26.    }
  27. }
  28. // FIXME
  29.  
  30. emap1
  31. {
  32.     cull none
  33.     {
  34.     map textures/special/lightningmap1.tga
  35.     blendFunc GL_ONE GL_ONE
  36.     rgbGen vertex
  37.     }
  38. }
  39.  
  40. queenbeam1
  41. {
  42.     cull none
  43.     {
  44.     map textures/sprites/qbeam1.tga
  45.     blendFunc GL_ONE GL_ONE
  46.     rgbGen vertex
  47. //    tcmod scale 4 1
  48.     tcmod scroll -6 0
  49.     }
  50. }
  51.  
  52. queenbeam2
  53. {
  54.     cull none
  55.     {
  56.     map textures/sprites/qbeam2.tga
  57.     blendFunc GL_ONE GL_ONE
  58.     rgbGen vertex
  59. //    tcmod scale 4 1
  60.     tcmod scroll -6 0
  61.     }
  62. }
  63.  
  64. queenbeam3
  65. {
  66.     cull none
  67.     {
  68.     map textures/sprites/qbeam3.tga
  69.     blendFunc GL_ONE GL_ONE
  70.     rgbGen vertex
  71. //    tcmod scale 4 1
  72.     tcmod scroll -6 0
  73.     }
  74. }
  75.  
  76. queenbeam4
  77. {
  78.     cull none
  79.     {
  80.     map textures/sprites/qbeam4.tga
  81.     blendFunc GL_ONE GL_ONE
  82.     rgbGen vertex
  83. //    tcmod scale 4 1
  84.     tcmod scroll -6 0
  85.     }
  86. }
  87.  
  88. turtleshell
  89. {
  90. //    cull
  91. //    surfaceparm nolightmap
  92.     surfaceparm trans
  93.     surfaceparm nonsolid
  94.     qer_trans 0.500000
  95.     {
  96.         map models/characters/mock_turtle/mshell.tga
  97.              blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  98.         alphaGen dot 0 0.5
  99.     }
  100. }
  101.  
  102. turtleshell-primary
  103. {
  104.     surfaceparm trans
  105.     surfaceparm nonsolid
  106.     qer_trans 0.500000
  107.     {
  108.         map models/characters/mock_turtle/mshell.tga
  109.              blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  110.         alphaGen entity
  111.         rgbGen const 1 1 1
  112.     }
  113. }
  114.  
  115. textures/common/lookingglass
  116. {
  117. //    sort additive
  118.     cull disable
  119.     nomipmaps
  120.     surfaceparm nolightmap
  121.     surfaceparm trans
  122.     surfaceparm nonsolid
  123.     qer_trans 0.500000
  124.     {
  125.         map textures/common/rift_light.tga
  126.              blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  127.         alphaGen dot 0 1
  128.         tcmod scale 2 1.0
  129.         tcmod scroll 0.5 0
  130.     }
  131. }
  132.  
  133. textures/common/rift_light
  134. {
  135. //    sort additive
  136.     cull disable
  137.     nomipmaps
  138.     surfaceparm nolightmap
  139.     surfaceparm trans
  140.     surfaceparm nonsolid
  141.     qer_trans 0.500000
  142.     {
  143.         map textures/common/rift_light.tga
  144.              blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  145.         alphaGen dot 0 0.5
  146.         tcmod scale 2 1.0
  147.         tcmod scroll 0.5 0
  148.     }
  149. }
  150.  
  151. textures/common/rift_light2
  152. {
  153. //    sort additive
  154.     cull disable
  155.     nomipmaps
  156.     surfaceparm nolightmap
  157.     surfaceparm trans
  158.     surfaceparm nonsolid
  159.     qer_trans 0.500000
  160.     {
  161.         map textures/common/rift_light.tga
  162.              blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  163.         alphaGen dot 0 0.5
  164.         tcmod scale 2 1.0
  165.         tcmod scroll -0.6 0
  166.     }
  167. }
  168.  
  169. fx/rift_base
  170. {
  171.     surfaceparm nolightmap
  172.     cull disable
  173.     {
  174.     depthwrite
  175.     alphafunc ge128
  176. //    map models/fx/icewall/skin01.tga
  177.     map $whiteimage
  178.     blendFunc GL_ONE GL_ONE
  179.     tcGen base
  180. //    tcmod scale 4 4 // 0.5 0.25
  181. //       tcmod scroll 0 -6
  182.     rgbGen wave noise 0.75 0.25 0 50
  183.     tcmod rotate -180
  184.     }
  185. }
  186.  
  187.  
  188. // TEST - bush test
  189. textures/test/alphabush
  190. {
  191.     surfaceparm nolightmap
  192.     surfaceparm nonsolid
  193.     surfaceparm trans
  194.     qer_editorimage textures/test/alphabush_test.tga
  195.     sort seeThrough
  196.     {
  197.         alphatest greaterequal 0.5
  198.         depthWrite
  199.         map textures/test/alphabush_test.tga
  200.         tcMod scroll 0.5 0.125
  201. //        alphagen entity
  202.         blendfunc gl_src_alpha gl_one_minus_src_alpha
  203.     }
  204. }
  205.  
  206. // FIXME removeme JPW -- like a shockwave only for sm0ke d00t
  207. textures/effects/smokewave
  208. {
  209.     cull twosided
  210.     surfaceparm nolightmap
  211.     {
  212.         clampmap textures/special/fullsmoke.tga
  213.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  214.         alphagen entity
  215.         tcmod offset 0 -1
  216.         tcmod scale 1 0.25
  217.         tcmod scroll 0 -2
  218.     }
  219. }
  220.  
  221. // JPW - basic code-controlled alpha/code-controlled color 
  222. // for jackbomb shockwave
  223. textures/effects/shockwave
  224. {
  225.     {
  226. //        map $whiteimage  // this one worked
  227.         map models/fx/fx_shockwave/skin_exploshock.tga
  228.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  229.         alphaGen entity
  230.         rgbGen entity
  231. //        alphaGen dot 0 0.23
  232. //        rgbGen entity
  233.     }
  234. }
  235.  
  236. // JPW - same thing but with gradient alpha texture for boojum sonic cone
  237. textures/effects/shockwave2
  238. {
  239.     cull none
  240.     {
  241.         map models/fx/fx_boojum_cone/gradient.tga
  242. //        map textures/effects/gradient.tga
  243.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  244.         alphaGen entity
  245. //        rgbGen entity
  246.     }
  247. }
  248.  
  249. // JPW - same thing but with gradient alpha texture -- for boojum sonic wave
  250. textures/effects/shockwave2a
  251. {
  252.     cull none
  253.     {
  254.         map models/fx/fx_boojum_cone/gradienttemp.tga
  255. //        map textures/effects/gradienttemp.tga
  256.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  257.         alphaGen entity
  258. //        rgbGen entity
  259.     }
  260. }
  261.  
  262. // JPW - for EV_Electrocute
  263. powerups/bogus
  264. {
  265.     cull disable
  266.     {
  267.     map textures/special/lightning.tga
  268.     blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  269.     tcMod rotate 90
  270.     tcMod scale 1.0 2.0
  271.     alphagen const 1.0
  272.     }
  273. }
  274.  
  275. // JPW - for EV_Electrocute
  276. powerups/shock1
  277. {
  278. //    deformvertexes bulge 4 4 0
  279.     deformvertexes wave 100 sin 4 4 0 100
  280.     cull disable
  281.     {
  282.         alphatest greaterequal 0.3
  283.         map textures/special/lightning.tga
  284.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  285.         tcMod scroll 0 1
  286.         tcMod scale 3 4
  287. //        alphagen entity
  288.         alphaGen wave inversesawtooth -2 3 0 1 // entity    
  289.     }
  290.     if shaderlod 0.5
  291.     {
  292.         alphatest greaterequal 0.3
  293.         map textures/special/lightning.tga
  294.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  295.         tcMod rotate 90
  296.         tcMod scale 1.0 2.0
  297.         alphagen wave sawtooth 0 0.6 0 4.5
  298.     }
  299.     endif
  300. }
  301.  
  302. // JPW - for croquet mallet swipe
  303. powerups/lightningswipe
  304. {
  305.     cull disable
  306.     {
  307.         alphatest greaterequal 0.3
  308.         map textures/special/lightning.tga
  309.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  310.         tcMod scroll 2 0
  311.         tcMod scale 6 1
  312. //        alphagen entity
  313. //        alphaGen wave inversesawtooth -2 3 0 1 // entity    
  314.     }
  315. }
  316.  
  317. // JPW - jackbomb explody thing
  318. fx/splode1
  319. {
  320.     surfaceparm nolightmap
  321.     cull none
  322.     if shaderlod 0.45
  323.     {
  324.         alphatest greaterequal 0.25
  325.         depthWrite
  326.         map models/fx/fx_shockwave/skin_explo2.tga
  327.         tcMod scroll 0.5 0.125
  328.         alphagen entity
  329.         blendfunc gl_src_alpha gl_one_minus_src_alpha
  330.     }
  331.     endif
  332.     {
  333.         map models/fx/fx_shockwave/skin_explo1.tga
  334.         blendfunc gl_one gl_one
  335.         rgbgen entity
  336.         tcMod rotate 180
  337.     }
  338. }
  339.  
  340. // JPW - jackbomb explody thing
  341. fx/splode2
  342. {
  343.     surfaceparm nolightmap
  344.     cull none
  345.     {
  346.     map models/fx/fx_shockwave/skin_explo2.tga
  347.     blendfunc gl_src_alpha gl_one_minus_src_alpha
  348.     alphagen entity
  349.     tcMod scroll 0.5 0.125
  350.     }
  351. }
  352.  
  353. // JPW -- new jackbomb explody cylinder thing
  354. fx/splodecyl
  355. {
  356. //    sort additive
  357.     cull disable
  358.     nomipmaps
  359.     surfaceparm nolightmap
  360.     surfaceparm trans
  361.     surfaceparm nonsolid
  362.     qer_trans 0.500000
  363.     {
  364.         map textures/common/splodecyl.tga
  365. //             blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  366.         blendFunc GL_ONE GL_ONE
  367.         rgbGen entity
  368.         alphaGen entity
  369. //        alphaGen dot 0 0.5
  370.         tcmod scale 2 1.0
  371.         tcmod scroll 4 0
  372.     }
  373. }
  374.  
  375. // JPW - jackbomb explody thing (bluegreen)
  376. fx/bsplode1
  377. {
  378.     surfaceparm nolightmap
  379.     cull none
  380.     if shaderlod 0.45
  381.     {
  382.         alphatest greaterequal 0.25
  383.         depthWrite
  384.         map models/fx/fx_shockwave/bskin_explo2.tga
  385.         tcMod scroll 0.5 0.125
  386.         alphagen entity
  387.         blendfunc gl_src_alpha gl_one_minus_src_alpha
  388.     }
  389.     endif
  390.     {
  391.         map models/fx/fx_shockwave/bskin_explo1.tga
  392.         blendfunc gl_one gl_one
  393.         rgbgen entity
  394.         tcMod rotate 180
  395.     }
  396. }
  397.  
  398. // JPW - jackbomb explody thing (bluegreen)
  399. fx/bsplode2
  400. {
  401.     surfaceparm nolightmap
  402.     cull none
  403.     {
  404.     map models/fx/fx_shockwave/bskin_explo2.tga
  405.     blendfunc gl_src_alpha gl_one_minus_src_alpha
  406.     alphagen entity
  407.     tcMod scroll 0.5 0.125
  408.     }
  409. }
  410.  
  411. // JPW -- new jackbomb explody cylinder thing (bluegreen)
  412. fx/bsplodecyl
  413. {
  414. //    sort additive
  415.     cull disable
  416.     nomipmaps
  417.     surfaceparm nolightmap
  418.     surfaceparm trans
  419.     surfaceparm nonsolid
  420.     qer_trans 0.500000
  421.     {
  422.         map textures/common/bsplodecyl.tga
  423. //             blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  424.         blendFunc GL_ONE GL_ONE
  425.         rgbGen entity
  426.         alphaGen entity
  427. //        alphaGen dot 0 0.5
  428.         tcmod scale 2 1.0
  429.         tcmod scroll 4 0
  430.     }
  431. }
  432.  
  433. // JPW - for EV_Stealth
  434. powerups/stealth
  435. {
  436.  
  437.     surfaceparm trans
  438.     surfaceparm nonsolid
  439.     cull back
  440.     deformvertexes normal 5 0
  441.     sort seeThrough
  442.     {
  443.     depthWrite
  444.     map textures/effects/reflights.tga
  445. //    blendfunc gl_one gl_one
  446.     blendfunc gl_dst_color gl_one
  447.     rgbgen const 0.5 0.5 0.5
  448.     tcgen environment
  449.     }
  450. }
  451.  
  452. // JPW - for rage box
  453. powerups/rage
  454. {
  455. //    surfaceparm trans
  456. //    surfaceparm nonsolid
  457.     cull back
  458.     deformvertexes bulge 2 2 0
  459. //    sort seeThrough
  460.     {
  461.     map textures/effects/reflights.tga
  462.     blendfunc gl_one gl_one
  463.     rgbgen const 0.3 0 0
  464.     tcgen environment
  465.     tcmod scroll 0.125 1
  466.     }
  467. }
  468.  
  469. // JPW - for queen2 ditty
  470. powerups/queen2
  471. {
  472.     cull back
  473.     deformvertexes bulge 3 3 0
  474.     {
  475.     map textures/effects/reflights.tga
  476.     blendfunc gl_one gl_one
  477.     rgbgen const 1 1 0.7
  478.     tcgen environment
  479.     tcmod scroll 0.125 1
  480.     }
  481. }
  482.  
  483. // JPW - for Gryphon Kenobi
  484. powerups/gryphon
  485. {
  486.     cull back
  487.     deformvertexes bulge 3 3 0
  488.     {
  489.     map textures/effects/reflights1.tga
  490. //    blendfunc gl_one gl_one
  491.     blendfunc gl_src_alpha gl_one_minus_src_alpha
  492.     rgbgen const 1 1 0.7
  493.     tcgen environment
  494. //    tcmod scale 3 3
  495.     tcmod scroll 0.125 1
  496.     alphagen dot 1 0.5
  497.     }
  498. }
  499.  
  500.  
  501. // JPW - for blunderbuss
  502. powerups/blunderball
  503. {
  504.  
  505.     surfaceparm trans
  506.     surfaceparm nonsolid
  507.     cull back
  508.     deformvertexes normal 5 0
  509.     sort seeThrough
  510.     {
  511.     depthWrite
  512.     map textures/effects/reflights.tga
  513. //    blendfunc gl_one gl_one
  514.     blendfunc gl_dst_color gl_one
  515.     rgbgen const 1 1 1
  516.     alphagen dot 1 0
  517.     tcgen environment
  518.     tcMod scroll 1 0
  519.     }
  520. }
  521.  
  522.  
  523.  
  524. // JPW - for EV_Freeze
  525. powerups/iceblock1
  526. {
  527. //    deformvertexes normal 150 0
  528.     cull disable
  529.     {
  530.     map textures/effects/reflights.tga
  531.     blendfunc gl_one gl_one
  532.     rgbgen entity
  533.     tcgen environment
  534.     }
  535. }
  536.  
  537. // JPW - for EV_Freeze
  538. powerups/iceblock2
  539. {
  540.     deformvertexes bulge 10 10 0
  541.     cull disable
  542.     {
  543.     map models/fx/icewall/skin01.tga
  544.     blendFunc GL_ONE GL_ONE
  545.     rgbgen entity
  546.     }
  547. }
  548.  
  549.  
  550. // JPW - frozen in block of ice sprites
  551. icecubebit2
  552. {
  553.    spritegen parallel
  554.    cull twosided
  555.    surfaceparm nolightmap
  556.       {
  557.       map sprites/f2_icebit.tga
  558.       blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  559.       alphaGen entity
  560.       }
  561. }
  562.  
  563. icebit2
  564. {
  565.    spritegen parallel
  566.    cull twosided
  567.    surfaceparm nolightmap
  568.       {
  569.    depthWrite
  570.       map sprites/f2_iceeffect.tga
  571.       blendFunc GL_ONE GL_ONE
  572.       rgbGen vertex
  573.       alphaGen vertex
  574.       }
  575. }
  576.  
  577. icepuff2
  578. {
  579.    spritegen parallel
  580.    cull twosided
  581.    surfaceparm nolightmap
  582.       {
  583.    depthWrite
  584.       map sprites/f2_icepuff.tga
  585.       blendFunc GL_ONE GL_ONE
  586.       rgbGen vertex
  587.       alphaGen vertex
  588.       }
  589. }
  590. // JPW
  591.  
  592. fx/eyebeam
  593. {
  594.     surfaceparm nolightmap
  595.     
  596.     cull back
  597.     {
  598.     map models/fx/fx_eyestaff/skin_explo2.tga
  599.  
  600.     alphafunc ge128
  601. //    alphagen const 0.7
  602. //    alphagen dot 1 0
  603.     blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  604.         tcGen base
  605.         tcmod scale 0.25 0.25 // 0.5 0.25 // old way
  606.                tcmod scroll 0 -0.25 // old way
  607.     }
  608. }
  609.  
  610. fx/eyebeam2
  611. {
  612.     surfaceparm nolightmap
  613.     cull back
  614.     {
  615.     depthwrite
  616.     alphafunc ge128
  617. //    alphagen dot 0 1
  618. //    alphagen const 0.7
  619.     map models/fx/fx_eyestaff/skin_explo2.tga
  620.     blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  621.         tcGen base
  622.         tcmod scale 4 4 // 0.5 0.25
  623.        tcmod scroll 0 -6
  624.     }
  625. }
  626.  
  627. fx/eyebeam3
  628. {
  629.     surfaceparm nolightmap
  630.     cull back
  631.     {
  632.     depthwrite
  633.     alphafunc ge128
  634. //    alphagen dot 0 1
  635. //    alphagen const 0.7
  636. //    map models/fx/fx_eyestaff/skin_explo2.tga
  637.     map textures/special/blue_eyebeam.tga
  638.     blendFunc  GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  639. //    blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  640.         tcGen base
  641.         tcmod scale 4 4 // 0.5 0.25
  642.        tcmod scroll 0 -6
  643.     }
  644. }
  645.  
  646. fx/eyebeam4
  647. {
  648.     surfaceparm nolightmap
  649.     cull back
  650.     {
  651.     depthwrite
  652.     alphafunc ge128
  653. //    alphagen dot 0 1
  654. //    alphagen const 0.7
  655. //    map models/fx/fx_eyestaff/skin_explo2.tga
  656.     map textures/special/blue_eyebeam.tga
  657.     blendFunc GL_ONE GL_ONE
  658. //    blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  659.         tcGen base
  660.         tcmod scale 4 4 // 0.5 0.25
  661.        tcmod scroll 0 -6
  662.     }
  663. }
  664. fx/eyebeam5
  665. {
  666.     surfaceparm nolightmap
  667. //    cull front
  668.     {
  669.     depthwrite
  670.  
  671.         alphatest greaterequal 0.9
  672.     
  673. //    alphafunc ge128
  674. //    alphagen dot 0 1
  675. //    alphagen const 0.7
  676. //    map models/fx/fx_eyestaff/skin_explo2.tga
  677.     map textures/special/purple.tga
  678. //    blendFunc GL_ONE GL_ONE
  679.     blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  680.     tcGen base
  681.     tcmod scale 1 1 // 0.5 0.25 // old way
  682.         tcmod scroll 0 -2 // old way
  683.     }
  684. }
  685.  
  686.  
  687. fx/beamtrail
  688. {
  689. //    deformvertexes bulge 5 5 5
  690.     surfaceparm nolightmap
  691.     
  692.     cull none
  693.     {
  694.     map models/fx/icewall/skin01.tga
  695.     blendFunc GL_ONE GL_ONE
  696.     tcGen base
  697.     alphagen dot 0 1
  698.     }
  699. }
  700.  
  701. fx/hatterheadsplode
  702. {
  703.     surfaceparm nolightmap    
  704.     cull none
  705.     {
  706.     map textures/special/hatterheadsplode.tga
  707.     blendFunc GL_ONE GL_ONE
  708.     tcGen base
  709.     tcmod rotate 100
  710.     alphagen entity
  711.     rgbgen entity
  712.     }
  713. }
  714.  
  715. fx/hattersplode
  716. {
  717.     surfaceparm nolightmap    
  718.     cull none
  719.     {
  720.     map textures/special/hattershock.tga
  721.     blendFunc GL_ONE GL_ONE
  722.     tcGen base
  723.     tcmod rotate 100
  724.     alphagen entity
  725.     rgbgen entity
  726.     }
  727. }
  728. fx/hatterdrop
  729. {
  730.     surfaceparm nolightmap
  731.     cull none
  732.     {
  733.     map textures/special/hatterdrop.tga
  734.     blendFunc GL_ONE GL_ONE
  735.     tcGen base
  736. //    tcmod rotate 100
  737.     alphagen entity
  738.     rgbgen entity
  739.     }
  740. }
  741.  
  742. fx/cardtrail1
  743. {
  744.     surfaceparm nolightmap
  745.     cull none
  746.     {
  747.     map textures/special/test1.tga
  748.     blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  749.     tcGen base
  750.     alphagen entity
  751.     }
  752. }
  753.  
  754. fx/tilesteam
  755. {
  756.    spritegen parallel
  757.    cull twosided
  758.    surfaceparm nolightmap
  759.       {
  760.       map textures/sprites/steam_tile.tga
  761.       blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  762.       rgbGen const 1 1 1
  763.       alphaGen vertex
  764.       }
  765. }
  766.  
  767. fx/deadtime
  768. {
  769. //    deformvertexes wave 100 sin 5 5 0 200
  770.     cull twosided
  771.     surfaceparm nolightmap
  772.     {
  773.         map models/fx/fx_deadtime/fx_deadtime.tga
  774.         blendfunc gl_one gl_one
  775.         alphatest greaterequal 0.3
  776.         rgbgen entity
  777.         alphaGen entity
  778.     }
  779. }
  780.  
  781. // next few stolen from beau for hatter with Programmer Art(TM) applied -- JPW
  782. httrmap
  783. {
  784.    cull none
  785.    {
  786.       map textures/sprites/httrmap.tga
  787.    blendFunc GL_SRC_ALPHA GL_ONE
  788.       alphaGen entity
  789.    }
  790. }
  791.  
  792. httrdrop
  793. {
  794.    cull none
  795.    {
  796.    map textures/sprites/httrdrop.tga
  797.    blendFunc GL_ONE GL_ONE
  798.    rgbGen vertex
  799.    }
  800. }
  801.  
  802. httrhmist
  803. {
  804.    cull none
  805.    {
  806.       map textures/sprites/httrmist.tga
  807.       blendFunc GL_ONE GL_ONE
  808.       rgbGen vertex
  809.    }
  810. }
  811.  
  812. httrripple
  813. {
  814.    cull none
  815.    spriteGen oriented
  816.    {
  817.       map textures/sprites/httrripple.tga
  818.       blendFunc GL_ONE GL_ONE
  819.       alphaGen vertex
  820.       rgbGen vertex
  821.    }
  822. }
  823.